package com.yj.ccs.abs.web.account.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/16
 * Author     : Unbelievable9
 **/
@Data
public class LoginPasswordDto {

    @NotNull(message = "原密码不能为空")
    @ApiModelProperty(value = "原密码", required = true)
    private String old_password;

    @NotNull(message = "新密码不能为空")
    @ApiModelProperty(value = "新密码", required = true)
    private String new_password;

    @NotNull(message = "新密码确认不能为空")
    @ApiModelProperty(value = "新密码确认", required = true)
    private String new_password_confirm;
}
